package cn.wyx.action;

import java.util.ArrayList;
import java.util.List;

public class PCityAction extends BaseAction{
	private String province;
	public void setProvince(String province) {
		this.province = province;
	}
	public String fCity(){
		cityList=new ArrayList<String>();
		if("河南".equals(province)){
			cityList.add("信阳");
			cityList.add("郑州");
			cityList.add("新乡");
			cityList.add("安阳");
			cityList.add("濮阳");
		}
		if ("山东".equals(province)) {
			cityList.add("枣庄");
			cityList.add("青岛");
			cityList.add("日照");
			
		}
		if ("江苏".equals(province)) {
			cityList.add("南京");
			cityList.add("苏州");
			cityList.add("杭州");
		}
		return SUCCESS;	
	}
	private List<String> cityList;
	public List<String> getCityList() {
		return cityList;
	}

}
